package com.project.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.bean.BuyOrderBean;
import com.project.bean.BuyOrderInfoBean;
import com.project.mapper.IBuyOrderInfoMapper;
import com.project.mapper.IBuyOrderMapper;
import com.project.service.IBuyOrderInfoService;
import com.project.service.IBuyOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.time.LocalDate;

@Service
@Transactional
public class BuyOrderInfoServiceImpl implements IBuyOrderInfoService {
    @Autowired
    private IBuyOrderInfoMapper mapper;
    @Override
    public void add(BuyOrderInfoBean buyOrderInfo) {
        mapper.insert(buyOrderInfo);
    }
}
